8.8
HIGH CVSS 3.1
CVE-2025-53628
cpp-httplib Unbounded Line Memory Allocation Buffer Overflow
Description

cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.20.1, cpp-httplib does not have a limit for a unique line, permitting an attacker to explore this to allocate memory arbitrarily. This vulnerability is fixed in 0.20.1. NOTE: This vulnerability is related to CVE-2025-53629.

INFO

Published Date :

July 10, 2025, 8:15 p.m.

Last Modified :

Aug. 6, 2025, 6:08 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-53628 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Cpp-httplib_project cpp-httplib
1 Yhirose cpp-httplib
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 4.0 MEDIUM [email protected]
Solution
Update the cpp-httplib library to version 0.20.1 or later.
  • Update cpp-httplib to version 0.20.1.
  • Ensure memory allocation limits are properly configured.
Public PoC/Exploit Available at Github

CVE-2025-53628 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-53628.

URL Resource
https://github.com/yhirose/cpp-httplib/commit/7b752106ac42bd5b907793950d9125a0972c8e8e Patch
https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-j6p8-779x-p5pw Vendor Advisory Exploit
https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-qjmq-h3cc-qv6w Not Applicable
https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-j6p8-779x-p5pw Vendor Advisory Exploit
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-53628 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 1 day, 2 hours ago
0 stars 0 fork 0 watcher
Born at : Nov. 18, 2024, 11:55 a.m. This repo has been linked 3 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-53628 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-53628 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Aug. 06, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Added CWE CWE-444
    Added CPE Configuration OR *cpe:2.3:a:yhirose:cpp-httplib:*:*:*:*:*:*:*:* versions up to (excluding) 0.20.1
    Added Reference Type GitHub, Inc.: https://github.com/yhirose/cpp-httplib/commit/7b752106ac42bd5b907793950d9125a0972c8e8e Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-j6p8-779x-p5pw Types: Exploit, Vendor Advisory
    Added Reference Type GitHub, Inc.: https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-qjmq-h3cc-qv6w Types: Not Applicable
    Added Reference Type CISA-ADP: https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-j6p8-779x-p5pw Types: Exploit, Vendor Advisory
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jul. 10, 2025

    Action Type Old Value New Value
    Added Reference https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-j6p8-779x-p5pw
  • New CVE Received by [email protected]

    Jul. 10, 2025

    Action Type Old Value New Value
    Added Description cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.20.1, cpp-httplib does not have a limit for a unique line, permitting an attacker to explore this to allocate memory arbitrarily. This vulnerability is fixed in 0.20.1. NOTE: This vulnerability is related to CVE-2025-53629.
    Added CVSS V4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-770
    Added CWE CWE-835
    Added Reference https://github.com/yhirose/cpp-httplib/commit/7b752106ac42bd5b907793950d9125a0972c8e8e
    Added Reference https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-j6p8-779x-p5pw
    Added Reference https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-qjmq-h3cc-qv6w
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.3
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability
Base CVSS Score: 8.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact